package intro;

public class MyBox_int {
    private int t;

    public void put(int t) {
        this.t = t;
    }

    public int get() {
        return t;
    }

    public static void main(String[] args) {
        MyBox_int integerBox = new MyBox_int();

        integerBox.put(new Integer(10));

        System.out.printf("整型值为 :%d\n\n", integerBox.get());
    }
}
